package com.jgk.gwt.recipes.contacts.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.jgk.gwt.recipes.contacts.shared.Contact;
import com.jgk.gwt.recipes.contacts.shared.ContactDetails;

@RemoteServiceRelativePath("contactsService")
public interface ContactsService extends RemoteService {
	  Contact addContact(Contact contact);
	  Boolean deleteContact(String id); 
	  ArrayList<ContactDetails> deleteContacts(ArrayList<String> ids);
	  ArrayList<ContactDetails> getContactDetails();
	  Contact getContact(String id);
	  Contact updateContact(Contact contact);

}
